[Version]
Signature = "$WINDOWS NT$"
Class     = Firmware
ClassGuid = {f2e7dd72-6468-4e36-b6f1-6488f42c1b52}
Provider  = %MSFT%
DriverVer = 06/21/2006,10.0.19041.1

[ClassInstall32]
AddReg = ClassInstall_AddReg
AddReg = FirmwareInstall_AddReg

[ClassInstall_AddReg]
HKR,,,,"%ClassDesc%"
HKR,,NoInstallClass,,1
HKR,,IconPath,%REG_MULTI_SZ%,"%%SystemRoot%%\System32\setupapi.dll,-159"
HKR,,"Default Service",,""
HKR,,BootCritical,,1

[FirmwareInstall_AddReg]
HKR,,FirmwareMaxRetryCount,%REG_DWORD%,2

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%MSFT% = Microsoft,NTamd64

[Microsoft.NTamd64]
%FirmwareResourceDesc% = FirmwareResource,,GenFirmwareResource
%SystemFirmwareDesc%   = FirmwareResource,,UEFI\CC_00010001,GenSystemFirmware
%DeviceFirmwareDesc%   = FirmwareResource,,UEFI\CC_00010002,GenDeviceFirmware
%FirmwareDriverDesc%   = FirmwareResource,,UEFI\CC_00010003

[FirmwareResource.NT]
; Nothing

[FirmwareResource.NT.Hw]
AddReg = FirmwareResource_AddReg

[FirmwareResource_AddReg]
HKR,,FirmwareVersion,%REG_DWORD%,0

[Strings]
; localizable strings
MSFT                 = "Microsoft"
ClassDesc            = "Firmware"
FirmwareResourceDesc = "Firmware Resource"
SystemFirmwareDesc   = "System Firmware"
DeviceFirmwareDesc   = "Device Firmware"
FirmwareDriverDesc   = "Firmware Driver"

; non-localizable strings
REG_MULTI_SZ = 0x00010000
REG_DWORD    = 0x00010001
